package com.docker.ywx.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.docker.common.annotation.Excel;
import com.docker.common.core.domain.BaseEntity;

/**
 * 附加费用对象 doctor_additional_costs
 * 
 * @author ruoyi
 * @date 2025-04-09
 */
public class DoctorAdditionalCosts extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 附加费用编号 */
    private Long id;

    /** 附加费用名称 */
    @Excel(name = "附加费用名称")
    private String name;

    /** 数量 */
    @Excel(name = "数量")
    private Long num;

    /** 价格 */
    @Excel(name = "价格")
    private BigDecimal price;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setNum(Long num) 
    {
        this.num = num;
    }

    public Long getNum() 
    {
        return num;
    }

    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("num", getNum())
            .append("price", getPrice())
            .toString();
    }
}
